<?php if (!defined('THINK_PATH')) exit();?><!doctype html>
 <html lang="en">
 <head>
 	<meta charset="UTF-8">
 	<title>测试页面</title>
 	<script src="/Public/jquery-1.8.3.min.js"></script>
 </head>
 <body>
<!--  <form action="/index.php/MyPosition/ActivityLfx/ActivityInclueUpdLfx" method="post" enctype="multipart/form-data" id="form_lfx">
    用户ID: <input type="text" class="memberId" name="memberId" value='1'><br><br><br>
 	标题: <input type="text" class="title" name="title" value='测试标题'><br><br><br>
    图片: <input type="file" class="file" name="pic"><br><br><br>
    允许人数: <input type="text" class="canNum" name="canNum" value="120"><br><br><br>
    价格: <input type="text" class="price" name="price" value="0"><br><br><br>
    活动ID: <input type="text" class="activityId" name="activityId" value="1"><br><br><br>
 	活动ID: <input type="text" class="includeid" name="includeid" value="1"><br><br><br>


 </form> -->
<!-- 
  <form action="/index.php/MyPosition/ActivityLfx/ActivityInclueUpdLfx" method="post" enctype="multipart/form-data" id="form_lfx">
    用户ID: <input type="text" class="memberId" name="memberId" value='1'><br><br><br>

    标题: <input type="text" class="title" name="title" value='测试标题'><br><br><br>
    图片: <input type="file" class="file" name="pic"><br><br><br>
    content: <input type="text" class="content" name="content"><br><br><br>
  
    活动ID: <input type="text" class="activityId" name="activityId" value="1"><br><br><br>

    includeid: <input type="text" class="include_Id" name="includeid" value="2"><br><br><br>

    address: <input type="text" class="address" name="address" value="1"><br><br><br>
    beginDate: <input type="text" class="beginDate" name="beginDate" value="1480485600"><br><br><br>
    endDate: <input type="text" class="endDate" name="endDate" value="1480478400"><br><br><br>


 </form> -->
 	



 	json数据:<br><textarea name="" id="" cols="30" rows="10"></textarea>
	<br><br><br>

 	<button class="lfx_click">点击</button>
 </body>
 <!--
PositionDetailLfx
 -->
 <script>
    $('.lfx_click').click(function(){
 	var include_Id = $('.include_Id').val();
    //alert(include_Id)

    var memberId = "2";
    var page ="1";
  //   var page =$('.page').val();
  //   var file =$('.file').val();
  //   var canNum =$('.canNum').val();
  //   var price =$('.price').val();

        //$("#form_lfx").submit();
        $.ajax({
            url:"/index.php/MyPosition/PositionNewsLfx/lfx",
            type:"POST",
            async:true,
            dataType:"json",
            data:{"memberid":memberId,'page':page},
            success:
            function(res){
                if(res != ''){
                	
                 	console.log(res);
                }
            }
        });
 })
 </script>

 </html>